package com.dong.prototypeMode.prepare;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 单选题
 */
@Data
@NoArgsConstructor
public class ChoiceQuestion {
    /**
     * 题目
     */
    private String name;
    /**
     * 选项；A、B、C、D
     */
    private Map<String, String> option;
    /**
     * 答案；B
     */
    private String key;

    public ChoiceQuestion(String name, Map<String, String> option, String key) {
        this.name = name;
        this.option = option;
        this.key = key;
    }
}
